
from mmcls.models import BACKBONES
from medfmc.models.deit3 import DeiT3


@BACKBONES.register_module()
class HeadClip(DeiT3):

    def __init__(self,
                 *args,
                 **kwargs):
        super().__init__(*args, **kwargs)

        for param in self.parameters():
            param.requires_grad = False
            